﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;

namespace F2S.LINQ2LinkedIn.Model
{
    [XmlRoot("update-comment")]
    public class UpdateComment
    {
        [XmlElement("id")]
        public long ID { get; set; }

        [XmlElement("sequence-number")]
        public long SequenceNumber { get; set; }

        [XmlElement("comment")]
        public string Comment { get; set; }

        [XmlElement("person")]
        public Person Person { get; set; }
    }

    /*
            <update-comment>
              <id>167200648</id>
              <sequence-number>0</sequence-number>
              <comment>link??? this I guess is just the image and I can't locate the deck on slideshare</comment>
              <person>
                <id>6rTGNnqCPQ</id>
                <first-name>Aditya</first-name>
                <last-name>Yadav</last-name>
                <headline>India ATS/R&amp;D Head at SunGard</headline>
                <picture-url>http://m.c.lnkd.licdn.com/mpr/mprx/0_z0kCB3kstiEufzyrzV5gB_PHtF0ySnDrBOKjBCCsSGIut-VKMJNmJG9NyWx_al2pqpQyZLpt78lB</picture-url>
                <api-standard-profile-request>
                  <url>http://api.linkedin.com/v1/people/6rTGNnqCPQ</url>
                  <headers total="1">
                    <http-header>
                      <name>x-li-auth-token</name>
                      <value>name:RgbU</value>
                    </http-header>
                  </headers>
                </api-standard-profile-request>
                <site-standard-profile-request>
                  <url>http://www.linkedin.com/profile/view?id=5852477&amp;authType=name&amp;authToken=RgbU&amp;trk=api*a3135321*s3210031*</url>
                </site-standard-profile-request>
              </person>
              <timestamp>1380466550374</timestamp>
            </update-comment>
*/
}
